package com.mooneros.study.designpattern.strategy;

import org.springframework.stereotype.Service;

/**
 * 学习数学
 * @author mac
 */
@Service
public class StudyMathService implements IStudyService{
    @Override
    public void doStudy(String param) {
        System.out.println("学习数学");
    }

    @Override
    public StudyLanagueEnum studyLanague() {
        return StudyLanagueEnum.MATH;
    }
}
